package org.aeon.heroicsagatextedition.commands;

/**
 * @projectName: HeroicSagaTextEdition
 * @package: org.aeon.heroicsagatextedition.commands
 * @className: AttackInvoker
 * @author: MissingAeon
 * @date: 2023/12/22 15:19
 * @description: 调用人
 */
public class AttackInvoker {
    private Command command;

    public void setCommand(Command command) {
        this.command = command;
    }

    public void attack() {
        command.execute();
    }
}
